/**
 * ---------------- 行政区划分配置 ---------------------
 */
// ---------- 子节点 -----------
export let subFeature = {
    cursor: 'default',
    bubble: true,
    strokeColor: '#fff', //线颜色
    strokeOpacity: 1, //线透明度
    strokeWeight: 6, //线宽
    fillColor: 'rgba(0, 122, 204,0)', //填充色
    fillOpacity: 0.35, //填充透明度
}
export let subFeatureBeClick = {
    cursor: 'default',
    bubble: true,
    strokeColor: '#fff', //线颜色
    strokeOpacity: 1, //线透明度
    strokeWeight: 6, //线宽
    fillColor: 'rgba(0, 122, 204,1)', //填充色
    fillOpacity: 0.35, //填充透明度
}
// --------- 父节点 -------------
export let ParentFeature = {
    cursor: 'default',
    bubble: true,
    strokeColor: '#fff', //线颜色
    fillColor: null,
    strokeWeight: 6, //线宽
}
// --------- 动态获取节点颜色 ------------
// 输入描边颜色与填充色
export function getFeature(StrokeColor, FillColor) {
    return {
        cursor: 'default',
        bubble: true,
        strokeColor: "#ad0d0d", //线颜色
        strokeOpacity: 1, //线透明度
        strokeWeight: 6, //线宽
        fillColor: FillColor, //填充色
        fillOpacity: 0.35, //填充透明度
    }
}